home *** CD-ROM | disk | FTP | other *** search
/ Your Choice 1 / your choice.zip / your choice / SNDTOOLS / DMPCC162 / DMPCC162.DOC < prev    next >
Text File  |  1994-02-27  |  19KB  |  403 lines

  1.                                                                      Page 1
  2.                     DMP Control Center v1.62 Documentation 
  3.                     ──────────────────────────────────────
  4.  
  5.  
  6. ╔══════════╗
  7. ║ CONTENTS ║
  8. ╚══════════╝
  9.  
  10.          I.       Introduction
  11.          II.      Disclaimer
  12.          III.     Command-line Options
  13.          IV.    In-program Keys
  14.          V.     Configuration File
  15.          VI.    Further Explanation Of Archive Support
  16.          VII.   Other Notes
  17.          VIII.  Bugs
  18.          IX.    Where To Reach Me
  19.          X.     Revisions
  20.  
  21.             
  22. ╔══════════════╗
  23. ║ INTRODUCTION ║
  24. ╚══════════════╝
  25.             
  26.         I made this program because I love the Dual Module Player (DMP)
  27. written by Otto Chrons and the Protected Module Player (PMP) written by Otto
  28. Chrons and Jussi Lahdenniemi.  They are the best .MOD players in existence.
  29. They also play .669, .S3M, .AMF, .STM, .NST, and .MTM files, as well as some
  30. other music formats.  They support practically every sound card and have
  31. incredible sound quality.  The only main differences between the two are
  32. that PMP uses XMS while DMP uses EMS, and DMP is updated more frequently,
  33. so it has more features.  Anyway, these programs are lacking in only one
  34. item:  there is no shell where you can select files.  I have seen a couple
  35. of other DMP-shell programs, and I wanted to improve on them, so I made my
  36. own.  This document will usually abbreviate the name DMP Control Center as
  37. DMPCC.  All the little symbols you see in this file that look like a circle
  38. on top of a cross are just there to tell your printer to do a form-feed.
  39.  
  40.  
  41. ╔════════════╗
  42. ║ DISCLAIMER ║
  43. ╚════════════╝
  44.     
  45.     I accept no responsibility for anything that happens to any person
  46. or thing in any manner due to the use of this program.  Use at your own risk.
  47.  
  48.  
  49. ╔══════════════════════╗
  50. ║ COMMAND-LINE OPTIONS ║
  51. ╚══════════════════════╝
  52.  
  53. ■  Syntax:  dmpcc </?> <directory to begin in>
  54.  
  55. ■  No options are necessary.  Don't type the < and the >.
  56.  
  57. ■  /? gives a very small help screen.  No more info than you see right here.
  58.                                                                             
  59.                                                                      Page 2
  60. ╔═════════════════╗
  61. ║ IN-PROGRAM KEYS ║
  62. ╚═════════════════╝
  63.  
  64. ■  H = Help.
  65. ■  P or ENTER = Play current file.
  66. ■  D = Delete current file or remove highlighted subdirectory if it is empty.
  67. ■  R = Rename current file or directory.
  68. ■  C = Copy current file.
  69. ■  M = Move current file.
  70. ■  L = Log onto new drive.
  71. ■  F = Change filespec mask.
  72. ■  S = Choose new sorting criteria (name, extension, size, date, none).
  73. ■  T = Toggle the time and date display at the top of the screen on and off.
  74.        If you are multitasking, then it is wise to toggle this off so that
  75.        the CPU is not hogged down by the constant time-checking.  This can
  76.        be preset in the configuration file as well.
  77. ■  I = Invoke current file.  DMPCC will execute the file which the highlight
  78.        bar is currently on.  You will be prompted to enter any parameters
  79.        which you desire.
  80. ■  O = DOS shell.  Type 'exit' from the DOS prompt to return to DMPCC.
  81. ■  ENTER = Change directory (if highlight bar is on a directory).
  82. ■  TAB = Toggle between INTERNAL and EXTERNAL decompression.
  83. ■  SPACE = Tag or untag current file and advance highlight bar.
  84. ■  ALT-T = Tag or untag all files.
  85. ■  ALT-D = Delete all tagged files.
  86. ■  ALT-C = Copy all tagged files.
  87. ■  ALT-M = Move all tagged files.
  88. ■  ALT-P = Play all tagged files normally (sends a listfile to the player).
  89. ■  CONTROL-P = Play all tagged files in 1 x 1 mode.
  90.                »  I put this option in because occasionally, DMP and PMP will
  91.                »  have problems if there are a lot of files in memory.  1 x 1
  92.                »  mode will load the player program separately for each
  93.                »  tagged file, so that there is never more than one file in
  94.                »  memory.                                                   
  95. ■  ALT-X or ESCAPE = Quit DMPCC.
  96. ■  FUNCTION KEYS F1 - F10 = Choose 1 of the 10 possible configurations you
  97.                             have stored in the DMPCC.CFG configuration file.
  98.  
  99.  
  100. ╔════════════════════╗
  101. ║ CONFIGURATION FILE ║
  102. ╚════════════════════╝
  103.  
  104. ■  Capitalization never matters.
  105. ■  In the case of conflicting lines, the last line in question will be used.
  106. ■  The configuration file must be named DMPCC.CFG, and it must exist in the
  107.    same directory as the dmpcc.exe file.
  108. ■  It must contain at least one player configuration line.
  109.    'Player configuration' refers to a line which contains the full pathname
  110.    of an executable file followed by any necessary parameters.
  111. ■  DMPCC will use the first 10 player configuration lines in the configuration
  112.    file.
  113. ■  Lines which begin with a 'remark' indicator( ';' or '{' or SPACE) will be
  114.    ignored.  Examples in this section are not placed at the beginning of the
  115.    line so that they are easier to read, but in the actual configuration file
  116.    there must be no 'white space' at the beginning of a line if you want that
  117.    line to be read.                                                         
  118.                                                                      Page 3
  119.  
  120. ■  Examples of possible player configuration lines:
  121.  
  122.         c:\pas16\dmp\dmp.exe -c4 -i5 -d5 -s44100
  123.                 c:\pas16\pmp\pmp.exe -c4 -i5 -d5
  124.                 dmp.bat
  125.                 pmp.bat
  126.  
  127. ■  All of the rest of the options which are described in this section, 
  128.    'Configuration File,' are optional.
  129.  
  130. ■  DMPCC's default filemask is *.*.  You can change it with the parameter
  131.    DEFAULT_FILE_MASK=.  Examples:
  132.  
  133.                  default_file_mask=*.mod
  134.              default_file_mask=song.*
  135.                  default_file_mask=*.*
  136.  
  137. ■  DMPCC will start up in the directory the user is currently in, by default.
  138.    You can either override this with the command-line or in the configuration
  139.    file.  Example:
  140.  
  141.         default_directory=c:\pas16\mod
  142.  
  143. ■  If you want to be able to play any type of archived files, and your player
  144.    program cannot handle decompression of archived files, then you must tell
  145.    tell DMPCC where your archive programs are located.  Throughout this
  146.    document, EXTERNAL DECOMPRESSION means that the external program which
  147.    DMPCC is calling, such as DMP, will be handling all archive decompression.
  148.    INTERNAL DECOMPRESSION means that DMPCC will handle all of the archive
  149.    decompression itself.  If you want to use internal decompression, then you
  150.    must tell DMPCC, in the configuration file, the locations of your archive
  151.    program(s).   For each archive program you want to use, you must include
  152.    a line in the configuration file which gives the full pathname of the
  153.    executable archive program.  You only have to include lines for those
  154.    archive programs which you will be using. Only PKZIP, ARJ, and LHA are
  155.    supported.  Examples:
  156.    
  157.         zip=c:\util\pkzip\pkunzip.exe
  158.         arj=c:\util\arj\arj.exe
  159.         lha=c:\util\lha\lha.exe
  160.    
  161.    DMPCC will decompress the archived files into a temporary directory.  By
  162.    default, this directory will be created on the drive on which DMPCC is
  163.    executed from.  You can choose an alternate drive, such as a RAM drive
  164.    (I highly recommend using a RAM drive for this).  Example:
  165.  
  166.         temp=d:
  167.  
  168.    To specify how DMPCC will manage the decompression of archive files
  169.    when it first starts, add one of the following lines:
  170.  
  171.         internal_decompression=true
  172.         internal_decompression=false
  173.  
  174.    'True' specifies INTERNAL DECOMPRESSION.  'False' specifies EXTERNAL
  175.    DECOMPRESSION.  You can change this value with the TAB key while in DMPCC.
  176.                                                                             
  177.                                                                      Page 4
  178.  
  179. ■  By default, DMPCC will display the time and date near the top of the
  180.    screen.  If you are multitasking then this will hog CPU time, so it should
  181.    be turned off with the line:
  182.  
  183.            clockon=false
  184.  
  185.    You can toggle this option while in DMPCC by typing 'T'.
  186.  
  187. ■  You might want a certain program to be executed every time a player
  188.    program is finished, such as a program which speeds your keyboard back up.
  189.    Example:
  190.  
  191.         post_program=program.exe parameters
  192.  
  193.    Of course, replace the 'program.exe' and 'parameters' with the necessary
  194.    correct values.
  195.  
  196. ■  By default, DMPCC will sort files by extension.  You can specify in the
  197.    configuration file an alternate sort criteria.  The options are:  NAME,
  198.    EXTENSION, SIZE, DATE, and NONE.  If 'NONE' is chosen, DMPCC will spend
  199.    less time reading in a directory's files.  Examples:
  200.  
  201.         sort=name
  202.         sort=extension
  203.         sort=size
  204.         sort=date
  205.         sort=none
  206.  
  207. ■ If you want to be able to edit files while in DMPCC, you must add a line
  208.   to the configuration file with the pathname of your editor program.
  209.   Example:
  210.  
  211.           editor=c:\util\editor.exe
  212.  
  213. ■ If you want to be able to view files while in DMPCC, you must add a line
  214.   to the configuration file with the pathname of your viewer program.
  215.   Example:
  216.  
  217.           viewer=c:\util\viewer.exe
  218.  
  219.  
  220. ╔════════════════════════════════════════╗
  221. ║ FURTHER EXPLANATION OF ARCHIVE SUPPORT ║
  222. ╚════════════════════════════════════════╝
  223.  
  224. ■  INTERNAL DECOMPRESSION means that DMPCC will handle all decompression of
  225.    archived files.  EXTERNAL DECOMPRESSION means that the external, or
  226.    'player', program which DMPCC is calling, such as DMP, will handle all
  227.    of the decompression of archived files.  By default, DMPCC will use
  228.    internal decompression.  You can specify this in the configuration file,
  229.    and you may toggle it while in DMPCC by hitting the TAB key.
  230. ■  Only files which have been compressed with PKZIP, ARJ, or LHA will be
  231.    uncompressed if internal decompression is on.
  232. ■  With internal decompression, all of the files in an archive file which
  233.    match the pre-extension part of the archive filename will be played.  This
  234.    means that if you try to play the file SONG.ZIP, then all of the files
  235.    inside SONG.ZIP which match the mask SONG.* will be played.              
  236.  
  237.                                                                      Page 5
  238.  
  239. ■  With internal decompression, DMPCC will make a temporary directory to
  240.    uncompress files into.  This directory may be specified in the configur-
  241.    ation file.  If it is not preset in the configuration file, then the
  242.    temporary directory will be created on the drive of the startup directory.
  243.    If there is insufficient room on the drive of the temporary directory,
  244.    then only the files which were able to be extracted will be played.  After
  245.    they are played, the extracted files will be deleted and the temporary
  246.    directory will be removed.
  247. ■  You must include the location of any archive programs you wish to use in
  248.    the configuration file.
  249. ■  Because most module players, such as PMP at the time of this writing,
  250.    cannot decompress archived files on their own, DMPCC will NOT play
  251.    archived files with the ALT-P mode unless EXTERNAL DECOMPRESSION is on.
  252.    This is because when you hit ALT-P, a listfile is sent to the player
  253.    program and if the listfile contains archived files, the player will
  254.    probably crash if it does not have archive capabilities.  CONTROL-P and
  255.    'P' will still work all the time.  If you hit ALT-P and any of the tagged
  256.    files have extensions which DMPCC recognizes as belonging to archived
  257.    files, then no files will be played and an error message will appear.  If
  258.    external decompression is on, then no checking will be made for archived
  259.    files, and you can use ALT-P to play archived files
  260.  
  261.  
  262. ╔═════════════╗
  263. ║ OTHER NOTES ║
  264. ╚═════════════╝
  265.  
  266. You do not have to be in the directory of dmpcc.exe to run the program, as
  267. long as it is in your path. The maximum number of files that DMPCC can read
  268. in one directory is 1400.  This is due to memory limitations.  Any files
  269. beyond this limit will be ignored.  Dmpcc.exe is already compressed with
  270. PKLITE, so do not try to compress it with any other run-time compression
  271. programs, since that would destroy the overlay file.  This program is free.
  272.  
  273.  
  274. ╔══════╗
  275. ║ BUGS ║
  276. ╚══════╝
  277.  
  278. I am not aware any bugs in DMP Control Center.  If you find any, no matter
  279. how small, I would really appreciate it if you left me a message at my
  280. Internet email address (below).
  281.  
  282.  
  283. ╔═══════════════════╗
  284. ║ WHERE TO REACH ME ║
  285. ╚═══════════════════╝
  286.  
  287. PLEASE report ANY bugs, problems, suggestions, compliments, etc... to my 
  288. Internet email address:  jklenk@mason1.gmu.edu                              
  289.  
  290.                                                                      Page 6
  291.  
  292. ╔═══════════╗
  293. ║ REVISIONS ║
  294. ╚═══════════╝
  295.  
  296. v1.62 02-26-94 : ■ You can now have a specific program (like a keyboard-speed
  297.                    increaser) run after each file is played.  See the above
  298.                    section, 'Configuration File.'  (Called the post_program.)
  299.                  ■ New Internet address:  jklenk@mason1.gmu.edu
  300.                  ■ Fixed the bug where the error box was not cleared if an
  301.                    attempt was made to move a single file to an invalid
  302.                    directory.
  303.                  ■ Removed the command-line option '/NE', which forced DMPCC
  304.                    to not use EMS memory.  It was a waste of code.
  305.                  ■ You can choose the sorting criteria by typing 'S', or by
  306.                    specifying this in the configuration file.
  307.                  ■ You can rename subdirectories now.
  308.                  ■ GREATLY sped up the routine for reading and sorting files.
  309.                  ■ Neatened up this .DOC file.
  310.                  ■ When you change to the parent directory, the highlight bar
  311.                    will be placed on the previous directory.
  312.                  ■ Fixed the problem of not being able to recognize a
  313.                    directory which had the attributes of hidden or system.
  314.                  ■ .BAT files now work to execute a player program or the
  315.                    post_program or archive programs.
  316.                  ■ The file which the highlight bar is currently on can be
  317.                    invoked (executed) by typing 'I'.
  318.                  ■ Fixed a bug which occurred when attempting to write to a
  319.                    read-only drive, such as a floppy which was read-only.
  320.                  ■ By adding the line 'editor=<editor pathname>' to the
  321.                    configuration file, you may now edit the current file by
  322.                    typing 'E'.
  323.                  ■ By adding the line 'viewer=<viewer pathname>' to the
  324.                    configuration file, you may now edit the current file by
  325.                    typing 'V'.
  326.                  ■ Number of player configurations allowed increased to 10.
  327.                  ■ Made all the dialog boxes and error boxes more attractive.
  328.                  ■ Individual files can now be moved or copied with different
  329.                    destination filenames.
  330.                  ■ You can shell to DOS by typing 'O'.
  331.  
  332. v1.61 01-29-94 : ■ Fixed a scrolling problem.
  333.                  ■ Added a display for the number of files and bytes tagged.
  334.                  ■ Clock/date display added.  (Can be toggled by hitting 'T'
  335.                    or by specifying it in the configuration file.)
  336.                  ■ Version format changed from x.x to x.xx.
  337.                  ■ You can now hit ESCAPE as well as ALT-X to quit.
  338.                  ■ Added detection of disk-write errors which could occur on
  339.                    write-only devices such as CD-ROM drives.
  340.  
  341. v1.6  01-11-94 : ■ Fixed a bug with moving multiple read-only files when the
  342.            files were overwriting other read-only files.
  343.          ■ Reduced the size of the DMPCC.EXE file by almost 10k.
  344.          ■ Optimized the code, allowing the maximum number of files
  345.            which can be read in each directory back up to 1400.     
  346.  
  347.                                                                      Page 7
  348.  
  349. v1.5  12-07-93 : ■ Now the user can choose whether DMP Control Center should
  350.                    handle file decompression, or whether the player program,
  351.                    such as DMP, should handle the decompression.  If you are
  352.                    using a player program which can not handle archived files
  353.                    then you will want DMP Control Center to handle the
  354.                    decompression.  This is called INTERNAL DECOMPRESSION, as
  355.                    opposed to EXTERNAL DECOMPRESSION, which means that the
  356.                    player, or 'external', program is going to handle all the
  357.                    decompression of archived files.  If you choose external
  358.                    decompression, you can use ALT-P to play multiple archived
  359.                    files, as opposed to only being able to use CTRL-P with
  360.                    internal decompression.
  361.  
  362. v1.4  12-04-93 : ■ MANY improvements.  Read on...
  363.                  ■ Interface redesigned, MUCH faster.
  364.                  ■ More bugs with scrolling files were fixed.
  365.          ■ A bug was fixed in which if you tried to remove an empty
  366.            directory which was the current directory on it's drive,
  367.            the directory was not being removed.
  368.          ■ A bug was fixed in which if the default directory
  369.            specified in the command-line or configuration file had
  370.            more than 12 characters, only the first 12 would be read.
  371.          ■ Added archive support, so you can play PKZIP'd or ARJ'd
  372.            files even if your player program can't handle them.  
  373.            There is only support for PKZIP, ARJ, and LHA, but why use
  374.            anything else?  If you want me to add support for another
  375.            archive type just leave me mail at my Internet address.
  376.          ■ The overlay file (dmpcc.ovr) is no longer included as a
  377.            separate file.  It is now stored in the .EXE file, and
  378.            extracted at run-time, then deleted.
  379.          ■ The ENTER key can now be used just like P to play a
  380.            single file.
  381.          ■ Reduced the number of files which can be read in one
  382.            directory to 1200, down from 1400.  This is due to memory
  383.            being reduced by some other features, and in a future
  384.            version I will raise the limit back up.
  385.            
  386. v1.3  10-07-93 : ■ Fixed a small bug with the scroll routine.
  387.                  ■ Fixed a very obscure bug in the procedure which reads the
  388.                    command-line parameters, which would occur if 2 or more
  389.                    '\' characters were placed together.
  390.                  ■ Sped up the screen-write routines.
  391.  
  392. v1.2  09-22-93 : ■ Increased maximum file limit from 450 to 1400.
  393.                  ■ Added the semicolon (;) as a 'remark' indicator in the
  394.                    configuration file, in addition to the previously allowed
  395.                    '{' or a blank space.
  396.                  ■ Fixed a bug with trying to copy or move a file to a drive
  397.                    that had insufficient space.
  398.  
  399. v1.1  09-20-93 : ■ Fixed a bug in the move and copy procedures, where any
  400.            attempt to move or copy a file to the same directory would
  401.            cause the file to be reduced to 0 bytes.
  402.  
  403. v1.0  09-14-93 : ■ First public release.